<?php
namespace app\event;


use think\facade\Event;
use think\facade\Log;

class UserRegisteredEvent extends Event
{
    public $userId;

    public function __construct($userId)
    {
        $this->userId = $userId;
    }

 /*   public function getUserId()
    {
        return $this->userId;
    }*/
}